package cn.edu.xjtu.daily.May.day_5_1;

import java.util.Scanner;

/**
 * @author Hydrion-QLz
 * @date 2022-05-01 9:20
 * @description
 */
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int M = sc.nextInt();
        int T = sc.nextInt();

        int[][] items = new int[n][2];
        for (int i = 0; i < n; i++) {
            items[i][0] = sc.nextInt();
            items[i][1] = sc.nextInt();
        }
        sc.close();

        int[] dp = new int[n + 1];
    }
}
